<?php decorate_with(false) ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的照片 - 会员中心 - 世界名模大赛 - 官方网站</title>
<meta name="description" content="<?php include_slot('description') or print '2010 世界名模大赛-QQ炫舞天使评选-官方网站' ?> " />
<meta name="keywords" content="<?php include_slot('keywords') or print '2010,世界名模大赛,QQ炫舞天使评选,世界模特大赛,世界名模大赛官方网站'?> " />
<meta name="robots" content="index, follow" />
<?php include_stylesheets() ?>
<?php include_javascripts() ?>
</head>
<body>

<!--Head-->
<div class="head_main">
   <div class="head_main2">
     <h1><a href="<?php echo url_for('@homepage') ?>" target="_self"  class="head_main2_a">世界名模大赛</a></h1>
     <div class="head_dl">
        <?php if ($sf_user->isAuthenticated()): ?>
          <a href="<?php echo url_for('@application_edit?id=' . $sf_user->getAttribute('id')) ?>">选手中心</a>
          |
          <a href="<?php echo url_for('@session_destroy?id=' . $sf_user->getAttribute('id')) ?>">退出</a>
        <?php else: ?>
          <a href="<?php echo url_for('@session_new') ?>">登录选手中心</a>
        <?php endif ?>
     </div>   
   </div>
</div>
<div class="menu">
    <ul>
      <li>选择赛区：</li>
      <?php foreach ($areas as $area): ?>
      <li>
        <a href="<?php echo url_for('@area?area=' . $area->getSlug()) ?>" target="_self"><?php echo $area ?></a>
      </li>
      <?php endforeach ?>
    </ul>
    <div class="clears"></div>
</div>
<!--Content-->
<div class="ms_main">
   <div class="ms_left">
      <p class="ms_leftp1"><a href="<?php echo url_for('@application_edit?id=' . $sf_user->getAttribute('id')) ?>"><span>查看资料</span> Modify data</a></p>
      <p class="ms_leftp1"><a href="<?php echo url_for('@picture') ?>"><span>我的照片</span> My photos</a></p>
      <p class="ms_leftp1"><a href="<?php echo url_for('@contestant_showmessage?id=' . $cid) ?>"><span>查看留言</span> Message</a></p>
   </div>
   
   <div class="ms_right">
     <div class="ms_right_title">
        <p class="ft20"> <a href="<?php echo url_for('@picture_upload') ?>"><span>上传新照片</span> </a></p>
       <p class="ft21">已上传照片</p>
     </div> 
<div class="uppic">
      <td></td>
	    <ul> 
	     <li><a href="<?php 
                printf(sfConfig::get('app_path_contestant_picture'), $picture->getPicture()) 
              ?>"><img src="<?php printf(sfConfig::get('app_path_contestant_picture'), $picture->getPicture()) ?>" width="100%" height="100%" alt="信息" /></a><p><a href="<?php 
                printf(sfConfig::get('app_path_contestant_picture'), $picture->getPicture()) 
              ?>">查看原图</a> <font>|</font><?php echo link_to('删除', 'Picture/delete?id='.$picture->getId(), array('method' => 'delete', 'confirm' => '确定要删除吗?')) ?>
			  </p></li>

        </ul>
	   
        <div class="clear"></div>
     </div>
	</div>
   
  <div class="clears"></div>
</div>
<div class="foot">
   <div class="foot_top"></div>
   <div class="foot_bottom">
      <p>
         <a href="/html/about_us.html">大赛简介</a><span>|</span>
         <a href="/html/sponsor.html">招商合作</a><span>|</span>
         <a href="/html/copyright.html">法律声明</a><span>|</span>
         <a href="/html/links.html">友情链接</a><span>|</span>
         <a href="/html/helpcenter.html">帮助中心</a><span>|</span>
         <a href="/html/Contact_us.html">联系我们</a>
      </p>
      <p>Copyright &copy; 2010 世界名模大赛组委会 版权所有</p>
      <p>
        <a href="http://www.miibeian.gov.cn/" target="_blank">京ICP备10212324号</a>
        <!--a href="">技术支持：奇谷科技</a-->
      </p>
   </div>
</div>

<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-16216214-2']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>

</body>
</html>